package com.dhu.pojo;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class Post {
    private int id;
    private String title;
    private String content;
    private String media;
    private int likes;
    private int replyNum;
    private int userId;
    private int barId;
    private Date date;

    // 其他表信息
    private String nickname;
    private String avatar;
    private String barName;
    private String barAvatar;
    private String followNum;
    private String postNum;
}
